class Student:
    name = '小伟'
    age = 2


s = Student()
s.gender = '男'
print(s.age)
print(s.gender)

s3 = Student()
s3.age = 5
Student.age = 100
s1 = Student()
print(s1.age)

print(s3.age)